Document 
EntityType  Independent 
Logical Entity Name  Document 
Default Table Name  CmDocument 
Logical Only  NO 
Owner  dbo 
Definition 
 
Note 
 

Document Attributes 
Attribute/Logical Rolename  Domain  Datatype  NULL  Definition 
StudentId(FK)    INTEGER  NO 
 
DocumentTypeId(FK)    INTEGER  NO 
 
ModuleId(FK)    INTEGER  YES 
 
RequestedDate    DATETIME  YES 
 
SentDate    DATETIME  YES 
 
ReceivedDate    DATETIME  YES 
 
DueDate    DATETIME  YES 
 
ApprovedDate    DATETIME  YES 
 
DocumentStatusId(FK)    INTEGER  NO 
 
DocumentImage    PICTURE  YES 
 
ImageType    CHAR(3)  YES 
 
Scanned    BIT  NO 
 
ModFlag    CHAR(1)  NO 
 
LastModifiedUserId    INTEGER  NO 
 
CreatedDateTime    DATETIME  NO 
 
LastModifiedDateTime    DATETIME  NO 
 
RowVersion    TIMESTAMP/DATE  NO 
 
DocumentId(PK)    INTEGER  NO 
 
StudentEnrollmentPeriodId(FK)    INTEGER  YES 
 
DocumentScheduleId    INTEGER  YES 
 
OriginalFileName    VARCHAR(100)  YES 
 
Note    VARCHAR(4000)  YES 
 
DocumentTranscriptRequestId(FK)    INTEGER  YES 
 
ExpiresDate    DATETIME  YES 
 
ImageNowDocId0    VARCHAR(50)  YES 
 
ImageNowDocId1    VARCHAR(50)  YES 
 
AwardYear    CHAR(7)  YES 
 
CreatedByUserId(FK)    INTEGER  YES 
 
IsPermit    BIT  NO 
 
IsDocumentAddedManually    BIT  YES 
 
DocumentTriggerId(FK)    INTEGER  YES 
 
WorkflowInstanceIdentifier    UNIQUEID  YES 
 
StudentPlacementId(FK)    INTEGER  YES 
 
StudentId(FK)    INTEGER  YES 
 
TaskAddTriggerId(FK)    INTEGER  YES 
 

Document Keys 
Key Name  Key Type  Keys 
CmDocument_CmDocTypeID_CmDocStatusID_DateReq_N_N_IDX  Inversion Entry  DocumentTypeId, DocumentStatusId, RequestedDate 
cmDocument_IsPermit_SyStudentID_N_N_IDX  Inversion Entry  IsPermit, StudentId 
CmDocument_SyStudentID_CmDocTypeID_INCLUDE_N_N_IDX  Inversion Entry  StudentId, DocumentTypeId 
CmDocument_CmDocTypeID_N_N_IDX  Inversion Entry  DocumentTypeId 
CmDocument_CmDocumentID_U_C_IDX  PrimaryKey  DocumentId 
CmDocument_CmDocumentTranscriptID_N_N_IDX  Inversion Entry  DocumentTranscriptRequestId 
CmDocument_CmDocStatusID_N_N_IDX  Inversion Entry  DocumentStatusId 
CmDocument_AddUserID_N_N_IDX  Inversion Entry  CreatedByUserId 

Document Relationships 
Parent Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Supertype 
DocumentStatus  Non-Identifying  Zero or One to Zero or More        DocumentStatusId  NO 
DocumentTranscriptRequest  Non-Identifying  Zero or One to Zero or More        DocumentTranscriptRequestId  NO 
DocumentType  Non-Identifying  Zero or One to Zero or More        DocumentTypeId  NO 
Staff  Non-Identifying  Zero or One to Zero or More        CreatedByUserId  NO 
DocumentStatus  Non-Identifying  One To Zero or More        DocumentStatusId  NO 
DocumentType  Non-Identifying  One To Zero or More        DocumentTypeId  NO 
DocumentTranscriptRequest  Non-Identifying  Zero or One to Zero or More        DocumentTranscriptRequestId  NO 
StudentPlacement  Non-Identifying  Zero or One to Zero or More        StudentPlacementId  NO 
Student  Non-Identifying  One To Zero or More        StudentId  NO 
TaskAddTrigger  Non-Identifying  Zero or One to Zero or More        DocumentTriggerId  NO 
Module  Non-Identifying  Zero or One to Zero or More        ModuleId  NO 
Student  Non-Identifying  Zero or One to Zero or More        StudentId  NO 
StudentEnrollmentPeriod  Non-Identifying  Zero or One to Zero or More        StudentEnrollmentPeriodId  NO 
StudentPlacement  Non-Identifying  Zero or One to Zero or More        StudentPlacementId  NO 
TaskAddTrigger  Non-Identifying  Zero or One to Zero or More        TaskAddTriggerId  NO 
Child Relationships: 
Entity Name  Type  Cardinality  Business Name  VerbPhrase  InversePhrase  Foreign Keys  Is Subtype 
DocumentDataChange  Non-Identifying  One To Zero or More          NO 
StudentCourseDocumentPermit  Non-Identifying  One To Zero or More          NO 
TaskDocumentAttachment  Non-Identifying  One To Zero or More          NO 
StudentEnrollmentPeriodTransferDocument  Identifying  One To Zero or More          NO 
CmDocumentExternalMap  Non-Identifying  One To Zero or More          NO 
StudentCourseDocumentPermit  Non-Identifying  One To Zero or More          NO 
HousingLeaseDocument  Non-Identifying  One To Zero or More          NO 
StudentRt4CalculationPostWithdrawalDisbursement  Non-Identifying  One To Zero or More          NO 
DocumentDataChange  Non-Identifying  One To Zero or More          NO 

Document Check Constraints 
Check Constraint Name  CheckConstraint 

Document Where Used - Model Usage 
Mapped Object  Is User Defined?  Denormalization Mappings  Description  Bound Attachments 
Logical
dbo.Document 
NO       
Physical (Microsoft SQL Server)
dbo.CmDocument 
NO       

Document Where Used - Submodel Usage 
Model  Submodel Usage 
Logical  Main Model 
Logical  Documents 
Physical (Microsoft SQL Server)  Main Model 
Physical (Microsoft SQL Server)  Academic Records 
Physical (Microsoft SQL Server)  Career Services 

Document Data Movement Rules 
Name  Type  Rule Text/Value